.problems-page {
  min-height: 100vh;
  background: #e6f3ff;
  padding: 24px;
  
  .problems-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 32px;
    
    .problems-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 32px;
      padding-bottom: 24px;
      border-bottom: 1px solid #f0f0f0;
      
      .problems-title {
        margin: 0;
        color: #1a1a1a;
        font-weight: 600;
        font-size: 24px;
      }
      
      .start-practice-btn {
        background: #4a90e2;
        border: none;
        border-radius: 8px;
        height: 48px;
        padding: 0 24px;
        font-weight: 500;
        box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
        transition: all 0.3s ease;
        
        &:hover {
          transform: translateY(-2px);
          box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
          background: #5a9ee8;
        }
      }
    }
    
    .problems-tabs {
      margin-bottom: 24px;
      
      .category-tabs {
        .ant-tabs-nav {
          margin-bottom: 0;
          
          &::before {
            border-bottom: 1px solid #f0f0f0;
          }
        }
        
        .ant-tabs-tab {
          padding: 12px 24px;
          margin-right: 0;
          border: none;
          background: transparent;
          color: #666;
          font-weight: 500;
          transition: all 0.3s ease;
          
          &:hover {
            color: #667eea;
          }
          
          &.ant-tabs-tab-active {
            color: #667eea;
            background: transparent;
            
            .ant-tabs-tab-btn {
              color: #667eea;
              font-weight: 600;
            }
          }
        }
        
        .ant-tabs-ink-bar {
          background: #667eea;
          height: 3px;
          border-radius: 2px;
        }
      }
    }
    
    .problems-filters {
      margin-bottom: 24px;
      padding: 20px;
      background: #fafafa;
      border-radius: 8px;
      border: 1px solid #f0f0f0;
      
      .ant-space {
        width: 100%;
        justify-content: flex-start;
        
        .ant-select {
          .ant-select-selector {
            border-radius: 6px;
            border: 1px solid #d9d9d9;
            transition: all 0.3s ease;
            
            &:hover {
              border-color: #667eea;
            }
            
            &:focus {
              border-color: #667eea;
              box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
            }
          }
        }
        
        .ant-input {
          border-radius: 6px;
          border: 1px solid #d9d9d9;
          transition: all 0.3s ease;
          
          &:hover {
            border-color: #667eea;
          }
          
          &:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
          }
        }
      }
    }
    
    .problems-table {
      margin-bottom: 24px;
      
      .problems-table-content {
        .ant-table {
          border-radius: 8px;
          overflow: hidden;
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
          
          .ant-table-thead {
            background: #fafafa;
            
            .ant-table-cell {
              background: #fafafa;
              border-bottom: 1px solid #f0f0f0;
              font-weight: 600;
              color: #1a1a1a;
              padding: 16px;
              
              &::before {
                display: none;
              }
            }
          }
          
          .ant-table-tbody {
            .ant-table-row {
              transition: all 0.3s ease;
              
              &:hover {
                background: #f8f9ff;
              }
              
              .ant-table-cell {
                border-bottom: 1px solid #f0f0f0;
                padding: 16px;
                vertical-align: middle;
                
                a {
                  color: #667eea;
                  text-decoration: none;
                  font-weight: 500;
                  transition: color 0.3s ease;
                  
                  &:hover {
                    color: #5a6fd8;
                    text-decoration: underline;
                  }
                }
                
                .ant-tag {
                  border-radius: 4px;
                  font-weight: 500;
                  border: none;
                  
                  &.ant-tag-green {
                    background: #f6ffed;
                    color: #52c41a;
                  }
                  
                  &.ant-tag-orange {
                    background: #fff7e6;
                    color: #fa8c16;
                  }
                  
                  &.ant-tag-red {
                    background: #fff2f0;
                    color: #ff4d4f;
                  }
                }
                
                .ant-space {
                  .anticon {
                    font-size: 16px;
                  }
                  
                  span {
                    font-weight: 500;
                  }
                }
              }
            }
          }
        }
      }
    }
    
    .problems-pagination {
      display: flex;
      justify-content: center;
      padding-top: 24px;
      border-top: 1px solid #f0f0f0;
      
      .ant-pagination {
        .ant-pagination-item {
          border-radius: 6px;
          border: 1px solid #d9d9d9;
          margin: 0 4px;
          transition: all 0.3s ease;
          
          &:hover {
            border-color: #667eea;
            color: #667eea;
          }
          
          &.ant-pagination-item-active {
            background: #667eea;
            border-color: #667eea;
            
            a {
              color: white;
            }
          }
        }
        
        .ant-pagination-prev,
        .ant-pagination-next {
          border-radius: 6px;
          border: 1px solid #d9d9d9;
          transition: all 0.3s ease;
          
          &:hover {
            border-color: #667eea;
            color: #667eea;
          }
        }
        
        .ant-pagination-total-text {
          color: #666;
          font-weight: 500;
        }
      }
    }
  }
}

// 响应式设计
@media (max-width: 768px) {
  .problems-page {
    padding: 16px;
    
    .problems-container {
      padding: 20px;
      
      .problems-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        
        .start-practice-btn {
          width: 100%;
        }
      }
      
      .problems-filters {
        .ant-space {
          flex-direction: column;
          
          .ant-select,
          .ant-input {
            width: 100% !important;
          }
        }
      }
    }
  }
}